home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr01
/
jock.zip
/
TOTDEM11.ZIP
/
DEMIO11.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-02-11
|
541b
|
30 lines
program DemoIOEleven;
{demIO11 - single Radio Button input}
Uses DOS, CRT,
totFAST, totINPUT, totIO1, totIO2;
Var
Bool: RadioIOOBJ;
begin
ClrScr;
with Bool do
begin
Init(35,12,20,5,'Sex?');
SetBoxOn(True);
AddItem('~M~ale',77,true);
AddItem('~F~emale',70,false);
Mouse.Show;
Activate;
Mouse.Hide;
gotoxy(1,20);
if GetValue = 1 then
writeln('You are male!')
else
writeln('Hi, I''m Bob.');
Done;
end;
end.